package org.example.springboot.convert;

import org.example.springboot.entity.FmcMetrics;
import org.example.springboot.vo.FmcMetricsVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface FmcMetricsConvert {
    FmcMetricsConvert INSTANCE = Mappers.getMapper(FmcMetricsConvert.class);

    FmcMetrics convert(FmcMetricsVO vo);

    FmcMetricsVO convert(FmcMetrics entity);

    List<FmcMetricsVO> convertList(List<FmcMetrics> list);

}